package com.ly.hotel.spainterface.jg.utils;

import com.google.gson.Gson;

/**
 * Created by ThinkPad on 2018/1/25.
 */

public class GsonUtils {

    public static <T> T parseSimpleJson(String jsonString,Class<T> clazz){
        Gson gson = new Gson();
        T result = gson.fromJson(jsonString,clazz);
        return result;
    }
}
